package QL;

import java.util.Map;

public class ButlerBankItemSendRequest implements IQLRequest
{
    /// <summary>
    /// 区服Id
    /// </summary>
    public long ZoneId;

    /// <summary>
    /// 源账号Id
    /// </summary>
    public long SourceUserId;

    /// <summary>
    /// 目标玩家Id
    /// </summary>
    public long DestUserId;

    /// <summary>
    /// 赠送的物品Id
    /// </summary>
    public long ItemId;

    /// <summary>
    /// 赠送的物品子Id
    /// </summary>
    public long ItemSubId;

    /// <summary>
    /// 赠送的物品数量
    /// </summary>
    public long ItemCount;

    @Override
    public String GetApiName()
    {
        return "butler.bank.item.send";
    }

    @Override
    public void Validate()
    {
    }

    @Override
    public void AddParameters(Map<String, String> map)
    {
        map.put("zone_id", String.valueOf(ZoneId));
        map.put("source_user_id", String.valueOf(SourceUserId));
        map.put("dest_user_id", String.valueOf(DestUserId));
        map.put("item_id", String.valueOf(ItemId));
        map.put("item_sub_id", String.valueOf(ItemSubId));
        map.put("item_count", String.valueOf(ItemCount));
    }
}
